# caption attribute

The caption attribute specifies the text for the object or state's caption. The text appears on the face of the object, to give the operator information about what the object does or about the current state.

The caption element contains the caption attribute.

FactoryTalk View equivalent: Caption or St_Caption

## See also

Example: Graphic display XML file

caption attribute syntax

caption element